import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * Created by Админ on 13.07.2014.
 */
public class Main {
    public static void main(String[] args) {

        List<Report> reports = new ArrayList<Report>();

        reports.add(new Report("Петрова1", "Repytwjd1", 1405255445637L, "key123", "выдан"));
        reports.add(new Report("Петрова1", "Repytwjd2", 1405255545381L, "key1233", "выдан"));
        reports.add(new Report("Петрова1", "Repytwjd3", 1405255145642L, "key12346", "выдан"));
        reports.add(new Report("Петрова1", "Repytwjd1", 1405255945657L, "key123", "принят"));
        reports.add(new Report("Петрова1", "Repytwjd5", 1405255445686L, "key12344", "выдан"));
        reports.add(new Report("Петрова1", "Repytwjd5", 2405255445686L, "key123447", "выдан"));
        reports.add(new Report("Петрова1", "Repytwjd5", 2405255445686L, "key1234465", "выдан"));

        Collections.sort(reports);

        try {
            XLSXService.createReport(reports, "/", "13", "07", "2014");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
